package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.QqbsFansMapper;
import com.hcb.micro.dto.QqbsFans;
import com.hcb.micro.service.IQqbsFansService;

@Service("QqbsFansService")
public class QqbsFansServiceImpl implements IQqbsFansService {

	@Autowired
	QqbsFansMapper qqbsFansMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return qqbsFansMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(QqbsFans record) {
		return qqbsFansMapper.insert(record);
	}

	@Override
	public int insertSelective(QqbsFans record) {
		return qqbsFansMapper.insertSelective(record);
	}

	@Override
	public QqbsFans selectByPrimaryKey(Integer id) {
		return qqbsFansMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(QqbsFans record) {
		return qqbsFansMapper.updateByPrimaryKey(record);
	}

	@Override
	public int updateByPrimaryKey(QqbsFans record) {
		return qqbsFansMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<QqbsFans> selectByPara(Map<String, Object> para) {
		return qqbsFansMapper.selectByPara(para);
	}

}
